<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Raster</title>
	<link rel="stylesheet" href="../css/style.css">
	<script type="text/javascript" src="../../dist/paper-full.js"></script>
	<script type="text/paperscript" canvas="canvas">
		var raster = new Raster('lenna');
		raster.position = view.center;
		raster.rotate(45);
		document.getElementById('svg').appendChild(project.exportSVG());
	</script>
</head>
<body>
	<canvas id="canvas" width="512" height="512"></canvas>
	<img width="512" height="512" id="lenna" style="display: none;" src="" />
	<svg id="svg" width="512" height="512"></svg>
</body>
</html>
